package com.lecyon.farm.vo.status;

import com.lecyon.farm.base.BaseVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

/**
 * @author Yao Zheng
 * @Date 2019/10/3 15:14
 */
@Data
@ApiModel(value = "更改状态Vo")
public class StatusVo extends BaseVo {

    @NotNull(message = "主键id不能为空")
    @Min(value = 1, message = "ID无效")
    @ApiModelProperty(name = "id", value = "主键ID", required = true)
    private Long id;

    @ApiModelProperty(name = "current_status", value = "当前状态")
    private String currentStatus;

    @ApiModelProperty(name = "target_status", value = "目标状态")
    private String targetStatus;

}
